package cn.yangsen.simplebeanmanager.bean.html;

import lombok.Getter;
import lombok.ToString;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("input")
@ToString
public class Hidden extends Input
{
	@Getter
	@XStreamAsAttribute
	private final InputType type = InputType.Hidden;
	
	public Hidden(String name, String value)
	{
		setName(name);
		setValue(value);
	}
}
